<?php

/**
 * @filename: display.class.php
 * @usage: Contains all generic display functions
 */

class Display_Display {

	/**
	 * @function: displayHeader
	 * @usage: Display the generic html header
	 */
	public function displayHeader($lob) {
	
		// Start an empty html variable
		$html = "";
		
		// Fill it with data
		$html .= "<div class=\"banner\">\n";
			
			$html .= "<img src=\"../images/header_".$lob.".gif\" alt=\"Banner\" />";
			
		$html .= "</div>";
		
		// Echo the html
		echo $html;
	
	}
	
	/**
	 * @function: displayMenu
	 * @usage: Display the generic menu
	 */
	public function displayMenu() {
	
		// Create an empty html variable
		$html = "";
		
		// Build the menu
		$html .= "<ul id=\"menu\">\n";
		
			$html .= "<li><a href=\"index.php?act=podcast\">Upload Podcast</a></li>\n";
			$html .= "<li><a href=\"index.php?act=pdf\">Upload PDF</a></li>";
		
		$html .= "</ul>\n";
		
		// Echo the menu
		echo $html;
	
	}

}

?>